#if defined(PRECOMIPLED_HEADER)
#include PRECOMPILED_HEADER
#else

#endif

using std::vector;

namespace sprite{

struct indexset{

	float currentkind;
	float currentx;
	float currenty;
	float currentwidth;
	float currentheight;
	
};

class index:public model{

	unsigned max;
	indexset* list;
	index(const index&);
	index& operator=(const index&);

	public:

		index();
		index(const indexset* list, const unsigned max);
		~index();
		void GetMaxIndex(unsigned& max) const;
		void LoadIndex(const indexset* list, const unsigned max);
		void GetCurrentIndex(indexset*& list, unsigned& max) const;

};

}